package com.gobygang.client.map;

import com.gobygang.client.Authenication.Provider;
import com.gobygang.client.PanelType;
import com.gobygang.client.ui.ButtonType;
import com.gobygang.shared.TaxiGangInfo;
import com.google.gwt.event.dom.client.HasClickHandlers;

public interface MapView{
	public enum TextBoxType{START, DESTINATION};
	public enum ButtonMode{ NONE, SEARCH, SEARCH_CREATE, LIST_TAXIGANGS };
	
	
	void resetSuggestion();
	
	void createStartMarker(String start, boolean setAddress);
	void createDestinationMarker(String destination, boolean setAddress);
	void createStartDestinationMarker(String start,String dest, boolean setAddress);

	void showSuggestionInMap(TaxiGangInfo suggestion);

	HasClickHandlers getButton(ButtonType buttonType);

	void showMap();

	void setLoggedOut(String msg);
	void setLoggedIn(Provider provider);
	void showLoginButton(boolean show);

	void setFeedbackButtonVisible(boolean b);
	void setLoginButtonVisible(boolean b);
	
	void show(PanelType panelType);
	
	SearchView getSearchView();


	void showMyTaxiGangInMap(TaxiGangInfo suggestion, boolean setAddress);

	void setPanelToShowOnLogin(PanelType panelType);



}

